import request from '@/utils/request'

// 查询入住信息检查列表
export function listCheckcontent(query) {
  return request({
    url: '/checkcontent/checkcontent/list',
    method: 'get',
    params: query
  })
}

// 查询入住信息检查详细
export function getCheckcontent(id) {
  return request({
    url: '/checkcontent/checkcontent/' + id,
    method: 'get'
  })
}

// 新增入住信息检查
export function addCheckcontent(data) {
  return request({
    url: '/checkcontent/checkcontent',
    method: 'post',
    data: data
  })
}

// 修改入住信息检查
export function updateCheckcontent(data) {
  return request({
    url: '/checkcontent/checkcontent',
    method: 'put',
    data: data
  })
}

// 删除入住信息检查
export function delCheckcontent(id) {
  return request({
    url: '/checkcontent/checkcontent/' + id,
    method: 'delete'
  })
}
